<ul class="layui-nav layui-nav-tree layui-inline" lay-filter="user">
    <li class="layui-nav-item">
      <a href="{:url('index/user/home')}">
        <i class="layui-icon">&#xe68e;</i>我的主页</a></li>
    <li class="layui-nav-item {if condition="request()->action()=='index'"}layui-this{/if}">
      <a href="{:url('index/user/index')}">
        <i class="layui-icon">&#xe612;</i>用户中心</a></li>
    <li class="layui-nav-item {if condition="request()->action()=='set'"}layui-this{/if}">
      <a href="{:url('index/user/set')}">
        <i class="layui-icon">&#xe620;</i>基本设置</a></li>
    <li class="layui-nav-item {if condition="request()->action()=='tie'"}layui-this{/if}">
      <a href="{:url('index/user/tie')}">
        <i class="iconfont icon-tiezi"></i>我的帖子</a>
    </li>
    <li class="layui-nav-item {if condition="request()->action()=='msg'"}layui-this{/if}">
      <a href="{:url('index/user/msg')}">
        <i class="layui-icon">&#xe611;</i>我的消息</a></li>
  </ul>